#include <QtGui>
#include <QApplication>
#include <QTextCodec>
#include "widget.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Widget w;

    QTextCodec *codec = QTextCodec::codecForName("System");
    QTextCodec::setCodecForLocale(codec);
    w.setWindowTitle(QObject::tr("调试工具"));

    w.show();
    
    return a.exec();
}
